<!DOCTYPE html>
<html>

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0" />
    <meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
    <title>舱内患者宣教列表</title>
    <link rel="stylesheet" type="text/css" href="../css/api.css" />
    <link rel="stylesheet" type="text/css" href="../css/style.css" />
    <link rel="stylesheet" type="text/css" href="../css/aui.2.0.css" />
    <style>
        .expend-cabin-wrapper>span {
            display: inline-block;
            font-size: 14px;
        }

        .aui-btn-info.add-cabin-info-btn {
            position: fixed;
            right: 10px;
            bottom: 100px;
        }

        .cabin-info {
            position: fixed;
            top: 50px;
            left: 0;
            z-index: 1000;
            height: 100vh;
            width: 100%;
            background-color: rgba(255, 255, 255, 1);
        }

        .add-cabin-info {
            width: 100%;
        }

        .aui-card-list{
          background-color: transparent;
        }

        .aui-btn-sm {
            width: 300px;
            margin: 20px auto;
        }

        .aui-list-item.aui-list-item-middle {
            width: 95%;
            margin: 0 auto;
            border-radius: 10px;
            -moz-box-shadow: 1px 4px 20px #C2C2C2;
            -webkit-box-shadow: 1px 4px 20px #C2C2C2;
            box-shadow: 1px 4px 20px #C2C2C2;
        }

        .aui-list-item-text {
            display: -webkit-flex;
            display: flex;
            justify-content: flex-start;
            align-items: center;
        }

        .aui-list-item-text>span {
            flex: 1;
        }
        .patient-container{
          display: -webkit-flex;
          display: flex;
          justify-content: space-between;
          align-items: center;
          flex-wrap: wrap;
          padding: 0 15px;
          -webkit-box-sizing: border-box;
          box-sizing: border-box;
        }
        .patient-wrapper{
          background-color: #fff;
          padding: 10px;
          border-radius: 10px;
          -moz-box-shadow: 1px 4px 20px #C2C2C2;
          -webkit-box-shadow: 1px 4px 20px #C2C2C2;
          box-shadow: 1px 4px 20px #C2C2C2;
          width: 49%;
          margin-top: 20px;
        }
        .patient-wrapper > div{
          display: -webkit-flex;
          display: flex;
          justify-content: space-around;
          align-items: center;
          width: 100%;
        }
        .patient-wrapper > div > span:nth-child(1){
          width: 45%;
          text-align: center;
        }
        .patient-wrapper > div > span:nth-child(2){
          width: 55%;
          text-align: left;
          -webkit-box-sizing: border-box;
          box-sizing: border-box;
        }
    </style>
</head>

<body>
    <main id="app">
        <header id="header" class="aui-bar aui-bar-nav">
            <a class="aui-pull-left aui-btn" onclick="closewin()">
                <span class="aui-iconfont aui-icon-left"></span>
            </a>
            <div class="aui-title">舱内患者列表</div>
        </header>
    </main>
</body>

</html>

<script src="../script/api.js" charset="utf-8"></script>
<script src="../script/vue.js" charset="utf-8"></script>
<script type="text/javascript">
    var vm = null;
    apiready = function() {
        vm = new Vue({
            el: '#app',
            data: {

            },
            methods: {

            }
        })


        var header = $api.byId('header'); // 获取头部
        $api.fixStatusBar(header); // 处理ios兼容

        var pos = $api.offset(header); // 获取位置数据
        api.openFrame({ // 打开Frame
            name: 'missionPatientFrame',
            url: 'missionPatientFrame.html',
            pageParam: {
                F_HatchID:api.pageParam.F_HatchID      //舱次ID
            },
            // pageParam: {newsId: newsId},  传递参数
            rect: {
                x: 0,
                y: pos.h, // 头部留位置
                w: 'auto',
                h: 'auto'
            },
            bounces: false,
            vScrollBarEnabled: false
        });
    }

    function closewin() {
        api.closeWin({
            name: 'missionPatient'
        });
    }
</script>
